<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<script type="text/javascript" src="../Public/js/jquery.js" ></script>
<script type="text/javascript">
	$(function(){
		var tianjia_html='123';

		var i=<?php echo ($js_i); ?>;
		
		$("#tianjia_ck").click(function(){
			if(i<4){
				i++;
				$("#tianjia_"+i+"").show();
				$("#quxiao").show();
			}
			
		});

		$("#quxiao").click(function(){
			if(i>0){
				$("#tianjia_"+i+"").hide();
				i--;
			}
		});

		$("#tijiao_yanzheng").click(function(){
			var app_name=$("#app_name").val();
			if(!app_name){
				alert("app名称不能为空");
			}else{
				$("#form1").submit();				
			}
			

		});

		$("#qiyong_1").click(function(){
				alert("test");
		});

		$("#tingyong_1").click(function(){
			alert("test");
		});

		
	});
</script>
<style type="text/css">
body { font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #333; }
.mc{ height:35px; line-height:35px; padding-top:10px;}
.mc01{ float:left; padding-left:15px;}
.mc02{ float:left; padding-left:15px;}
.mc03{ padding-left:36px;height:35px; line-height:35px;}
.mc04{ padding-left:12px;line-height:35px;}
.ok{ margin:0 auto; padding:0 auto; width:60px; height:23px; padding-top:20px;}
</style>
</head>

<body>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style=" border: 1px solid #787878;">
  <tr align="left" valign="top" bgcolor="#f2f2f2">
    <td height="472" ><table width="100%" border="0" align="left" cellpadding="0" cellspacing="0" style="padding-bottom:20px;">
        <tr align="center" valign="top" bgcolor="#d8d8d8">
          <td><table width="100%" border="0" align="left" cellpadding="0" cellspacing="0" style="border-bottom:1px solid #787878; padding:0px 10px 0px 10px;">
              <tr align="left" valign="middle">
                <td height="40" style="padding-left:5px;"><a href="<?php echo U('Dataflow/index');?>">数据流量</a>&gt;编辑链接</td>
              </tr>
            </table></td>
        </tr>
        <tr valign="top">
          <td height="413">
              <form action="<?php echo U('Dataflow/edit_link_operation');?>" method="post" id="form1">
              <?php if(is_array($app_info)): foreach($app_info as $key=>$vo): ?><div class="mc">
                  <div class="mc01">app名称
                    <input type="text" name="app_name" id="app_name" value="<?php echo ($vo['app_name']); ?>"/>
                  </div>
                  <div class="mc02"> 类别
                    <select name="app_sort" id="app_sort">
                      <option <?php if($vo['app_sort'] == 1 ): ?>selected=""<?php endif; ?> value="1">app</option>
                      <option <?php if($vo['app_sort'] == 2 ): ?>selected=""<?php endif; ?> value="2">网站</option>
                    </select>
                  </div>
                </div>
                <?php if(is_array($vo['app_link'])): $i = 0; $__LIST__ = $vo['app_link'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$voo): $mod = ($i % 2 );++$i;?><div>
                <div class="mc03">别名
                    <input type="text" name="app_link_alias1" id="app_link_alias1" value="<?php echo ($voo['app_link_alias1']); ?>"/>
                  </div>
                 <div class="mc04"><span>链接地址</span>
                   <input type="text" name="app_link_ad1" id="app_link_ad1" value="<?php echo ($voo['app_link_ad1']); ?>" size="80"/><br/>启用时间
                        <select name="app_link_start1">
              <option <?php if($voo['app_link_start1'] == 1 ): ?>selected=""<?php endif; ?> value="1">1</option>
              <option <?php if($voo['app_link_start1'] == 2 ): ?>selected=""<?php endif; ?> value="2">2</option>
              <option <?php if($voo['app_link_start1'] == 3 ): ?>selected=""<?php endif; ?> value="3">3</option>
              <option <?php if($voo['app_link_start1'] == 4 ): ?>selected=""<?php endif; ?> value="4">4</option>
              <option <?php if($voo['app_link_start1'] == 5 ): ?>selected=""<?php endif; ?> value="5">5</option>
              <option <?php if($voo['app_link_start1'] == 6 ): ?>selected=""<?php endif; ?> value="6">6</option>
              <option <?php if($voo['app_link_start1'] == 7 ): ?>selected=""<?php endif; ?> value="7">7</option>
              <option <?php if($voo['app_link_start1'] == 8 ): ?>selected=""<?php endif; ?> value="8">8</option>
              <option <?php if($voo['app_link_start1'] == 9 ): ?>selected=""<?php endif; ?> value="9">9</option>
              <option <?php if($voo['app_link_start1'] == 10 ): ?>selected=""<?php endif; ?> value="10">10</option>
              <option <?php if($voo['app_link_start1'] == 11 ): ?>selected=""<?php endif; ?> value="11">11</option>
              <option <?php if($voo['app_link_start1'] == 12 ): ?>selected=""<?php endif; ?> value="12">12</option>
              <option <?php if($voo['app_link_start1'] == 13 ): ?>selected=""<?php endif; ?> value="13">13</option>
              <option <?php if($voo['app_link_start1'] == 14 ): ?>selected=""<?php endif; ?> value="14">14</option>
              <option <?php if($voo['app_link_start1'] == 15 ): ?>selected=""<?php endif; ?> value="15">15</option>
              <option <?php if($voo['app_link_start1'] == 16 ): ?>selected=""<?php endif; ?> value="16">16</option>
              <option <?php if($voo['app_link_start1'] == 17 ): ?>selected=""<?php endif; ?> value="17">17</option>
              <option <?php if($voo['app_link_start1'] == 18 ): ?>selected=""<?php endif; ?> value="18">18</option>
              <option <?php if($voo['app_link_start1'] == 19 ): ?>selected=""<?php endif; ?> value="19">19</option>
              <option <?php if($voo['app_link_start1'] == 20 ): ?>selected=""<?php endif; ?> value="20">20</option>
              <option <?php if($voo['app_link_start1'] == 21 ): ?>selected=""<?php endif; ?> value="21">21</option>
              <option <?php if($voo['app_link_start1'] == 22 ): ?>selected=""<?php endif; ?> value="22">22</option>
              <option <?php if($voo['app_link_start1'] == 23 ): ?>selected=""<?php endif; ?> value="23">23</option>
              <option <?php if($voo['app_link_start1'] == 24 ): ?>selected=""<?php endif; ?> value="24">24</option>
            </select>
            到<select name="app_link_sed1">
              <option <?php if($voo['app_link_sed1'] == 1 ): ?>selected=""<?php endif; ?> value="1">1</option>
              <option <?php if($voo['app_link_sed1'] == 2 ): ?>selected=""<?php endif; ?> value="2">2</option>
              <option <?php if($voo['app_link_sed1'] == 3 ): ?>selected=""<?php endif; ?> value="3">3</option>
              <option <?php if($voo['app_link_sed1'] == 4 ): ?>selected=""<?php endif; ?> value="4">4</option>
              <option <?php if($voo['app_link_sed1'] == 5 ): ?>selected=""<?php endif; ?> value="5">5</option>
              <option <?php if($voo['app_link_sed1'] == 6 ): ?>selected=""<?php endif; ?> value="6">6</option>
              <option <?php if($voo['app_link_sed1'] == 7 ): ?>selected=""<?php endif; ?> value="7">7</option>
              <option <?php if($voo['app_link_sed1'] == 8 ): ?>selected=""<?php endif; ?> value="8">8</option>
              <option <?php if($voo['app_link_sed1'] == 9 ): ?>selected=""<?php endif; ?> value="9">9</option>
              <option <?php if($voo['app_link_sed1'] == 10 ): ?>selected=""<?php endif; ?> value="10">10</option>
              <option <?php if($voo['app_link_sed1'] == 11 ): ?>selected=""<?php endif; ?> value="11">11</option>
              <option <?php if($voo['app_link_sed1'] == 12 ): ?>selected=""<?php endif; ?> value="12">12</option>
              <option <?php if($voo['app_link_sed1'] == 13 ): ?>selected=""<?php endif; ?> value="13">13</option>
              <option <?php if($voo['app_link_sed1'] == 14 ): ?>selected=""<?php endif; ?> value="14">14</option>
              <option <?php if($voo['app_link_sed1'] == 15 ): ?>selected=""<?php endif; ?> value="15">15</option>
              <option <?php if($voo['app_link_sed1'] == 16 ): ?>selected=""<?php endif; ?> value="16">16</option>
              <option <?php if($voo['app_link_sed1'] == 17 ): ?>selected=""<?php endif; ?> value="17">17</option>
              <option <?php if($voo['app_link_sed1'] == 18 ): ?>selected=""<?php endif; ?> value="18">18</option>
              <option <?php if($voo['app_link_sed1'] == 19 ): ?>selected=""<?php endif; ?> value="19">19</option>
              <option <?php if($voo['app_link_sed1'] == 20 ): ?>selected=""<?php endif; ?> value="20">20</option>
              <option <?php if($voo['app_link_sed1'] == 21 ): ?>selected=""<?php endif; ?> value="21">21</option>
              <option <?php if($voo['app_link_sed1'] == 22 ): ?>selected=""<?php endif; ?> value="22">22</option>
              <option <?php if($voo['app_link_sed1'] == 23 ): ?>selected=""<?php endif; ?> value="23">23</option>
              <option <?php if($voo['app_link_sed1'] == 24 ): ?>selected=""<?php endif; ?> value="24">24</option>
            </select>
            <?php if($voo['app_link_qiyong1'] == 1 ): ?><a href="<?php echo U('Dataflow/edit_index',array('app_id'=>$app_id,'app_link_qiyong1'=>2));?>">停用</a><?php else: ?><a href="<?php echo U('Dataflow/edit_index',array('app_id'=>$app_id,'app_link_qiyong1'=>1));?>">启用 </a><?php endif; ?></div>
          </div>
          <div id="tianjia_1" <?php if($voo['app_link_alias2'] == '' ): ?>style="display:none;"<?php endif; ?>>
          		<div class="mc03">别名
                    <input type="text" name="app_link_alias2" id="app_link_alias2" value="<?php echo ($voo['app_link_alias2']); ?>"/>
                  </div>
                 <div class="mc04"><span>链接地址</span>
                   <input type="text" name="app_link_ad2" id="app_link_ad2" value="<?php echo ($voo['app_link_ad2']); ?>" size="80"/><br/>启用时间
                        <select name="app_link_start2">
              <option <?php if($voo['app_link_start2'] == 1 ): ?>selected=""<?php endif; ?> value="1">1</option>
              <option <?php if($voo['app_link_start2'] == 2 ): ?>selected=""<?php endif; ?> value="2">2</option>
              <option <?php if($voo['app_link_start2'] == 3 ): ?>selected=""<?php endif; ?> value="3">3</option>
              <option <?php if($voo['app_link_start2'] == 4 ): ?>selected=""<?php endif; ?> value="4">4</option>
              <option <?php if($voo['app_link_start2'] == 5 ): ?>selected=""<?php endif; ?> value="5">5</option>
              <option <?php if($voo['app_link_start2'] == 6 ): ?>selected=""<?php endif; ?> value="6">6</option>
              <option <?php if($voo['app_link_start2'] == 7 ): ?>selected=""<?php endif; ?> value="7">7</option>
              <option <?php if($voo['app_link_start2'] == 8 ): ?>selected=""<?php endif; ?> value="8">8</option>
              <option <?php if($voo['app_link_start2'] == 9 ): ?>selected=""<?php endif; ?> value="9">9</option>
              <option <?php if($voo['app_link_start2'] == 10 ): ?>selected=""<?php endif; ?> value="10">10</option>
              <option <?php if($voo['app_link_start2'] == 11 ): ?>selected=""<?php endif; ?> value="11">11</option>
              <option <?php if($voo['app_link_start2'] == 12 ): ?>selected=""<?php endif; ?> value="12">12</option>
              <option <?php if($voo['app_link_start2'] == 13 ): ?>selected=""<?php endif; ?> value="13">13</option>
              <option <?php if($voo['app_link_start2'] == 14 ): ?>selected=""<?php endif; ?> value="14">14</option>
              <option <?php if($voo['app_link_start2'] == 15 ): ?>selected=""<?php endif; ?> value="15">15</option>
              <option <?php if($voo['app_link_start2'] == 16 ): ?>selected=""<?php endif; ?> value="16">16</option>
              <option <?php if($voo['app_link_start2'] == 17 ): ?>selected=""<?php endif; ?> value="17">17</option>
              <option <?php if($voo['app_link_start2'] == 18 ): ?>selected=""<?php endif; ?> value="18">18</option>
              <option <?php if($voo['app_link_start2'] == 19 ): ?>selected=""<?php endif; ?> value="19">19</option>
              <option <?php if($voo['app_link_start2'] == 20 ): ?>selected=""<?php endif; ?> value="20">20</option>
              <option <?php if($voo['app_link_start2'] == 21 ): ?>selected=""<?php endif; ?> value="21">21</option>
              <option <?php if($voo['app_link_start2'] == 22 ): ?>selected=""<?php endif; ?> value="22">22</option>
              <option <?php if($voo['app_link_start2'] == 23 ): ?>selected=""<?php endif; ?> value="23">23</option>
              <option <?php if($voo['app_link_start2'] == 24 ): ?>selected=""<?php endif; ?> value="24">24</option>
            </select>
            到<select name="app_link_sed2">
              <option <?php if($voo['app_link_sed2'] == 1 ): ?>selected=""<?php endif; ?> value="1">1</option>
              <option <?php if($voo['app_link_sed2'] == 2 ): ?>selected=""<?php endif; ?> value="2">2</option>
              <option <?php if($voo['app_link_sed2'] == 3 ): ?>selected=""<?php endif; ?> value="3">3</option>
              <option <?php if($voo['app_link_sed2'] == 4 ): ?>selected=""<?php endif; ?> value="4">4</option>
              <option <?php if($voo['app_link_sed2'] == 5 ): ?>selected=""<?php endif; ?> value="5">5</option>
              <option <?php if($voo['app_link_sed2'] == 6 ): ?>selected=""<?php endif; ?> value="6">6</option>
              <option <?php if($voo['app_link_sed2'] == 7 ): ?>selected=""<?php endif; ?> value="7">7</option>
              <option <?php if($voo['app_link_sed2'] == 8 ): ?>selected=""<?php endif; ?> value="8">8</option>
              <option <?php if($voo['app_link_sed2'] == 9 ): ?>selected=""<?php endif; ?> value="9">9</option>
              <option <?php if($voo['app_link_sed2'] == 10 ): ?>selected=""<?php endif; ?> value="10">10</option>
              <option <?php if($voo['app_link_sed2'] == 11 ): ?>selected=""<?php endif; ?> value="11">11</option>
              <option <?php if($voo['app_link_sed2'] == 12 ): ?>selected=""<?php endif; ?> value="12">12</option>
              <option <?php if($voo['app_link_sed2'] == 13 ): ?>selected=""<?php endif; ?> value="13">13</option>
              <option <?php if($voo['app_link_sed2'] == 14 ): ?>selected=""<?php endif; ?> value="14">14</option>
              <option <?php if($voo['app_link_sed2'] == 15 ): ?>selected=""<?php endif; ?> value="15">15</option>
              <option <?php if($voo['app_link_sed2'] == 16 ): ?>selected=""<?php endif; ?> value="16">16</option>
              <option <?php if($voo['app_link_sed2'] == 17 ): ?>selected=""<?php endif; ?> value="17">17</option>
              <option <?php if($voo['app_link_sed2'] == 18 ): ?>selected=""<?php endif; ?> value="18">18</option>
              <option <?php if($voo['app_link_sed2'] == 19 ): ?>selected=""<?php endif; ?> value="19">19</option>
              <option <?php if($voo['app_link_sed2'] == 20 ): ?>selected=""<?php endif; ?> value="20">20</option>
              <option <?php if($voo['app_link_sed2'] == 21 ): ?>selected=""<?php endif; ?> value="21">21</option>
              <option <?php if($voo['app_link_sed2'] == 22 ): ?>selected=""<?php endif; ?> value="22">22</option>
              <option <?php if($voo['app_link_sed2'] == 23 ): ?>selected=""<?php endif; ?> value="23">23</option>
              <option <?php if($voo['app_link_sed2'] == 24 ): ?>selected=""<?php endif; ?> value="24">24</option>
            </select>
            <?php if($voo['app_link_qiyong2'] == 1 ): ?><a href="<?php echo U('Dataflow/edit_index',array('app_id'=>$app_id,'app_link_qiyong2'=>2));?>">停用</a><?php else: ?><a href="<?php echo U('Dataflow/edit_index',array('app_id'=>$app_id,'app_link_qiyong2'=>1));?>">启用 </a><?php endif; ?></div>
           </div>
           <div id="tianjia_2" <?php if($voo['app_link_alias3'] == '' ): ?>style="display:none;"<?php endif; ?>>
           			<div class="mc03">别名
                    <input type="text" name="app_link_alias3" id="app_link_alias3" value="<?php echo ($voo['app_link_alias3']); ?>"/>
                  </div>
                 <div class="mc04"><span>链接地址</span>
                   <input type="text" name="app_link_ad3" id="app_link_ad3" value="<?php echo ($voo['app_link_ad3']); ?>" size="80"/><br/>启用时间
                        <select name="app_link_start3">
              <option <?php if($voo['app_link_start3'] == 1 ): ?>selected=""<?php endif; ?> value="1">1</option>
              <option <?php if($voo['app_link_start3'] == 2 ): ?>selected=""<?php endif; ?> value="2">2</option>
              <option <?php if($voo['app_link_start3'] == 3 ): ?>selected=""<?php endif; ?> value="3">3</option>
              <option <?php if($voo['app_link_start3'] == 4 ): ?>selected=""<?php endif; ?> value="4">4</option>
              <option <?php if($voo['app_link_start3'] == 5 ): ?>selected=""<?php endif; ?> value="5">5</option>
              <option <?php if($voo['app_link_start3'] == 6 ): ?>selected=""<?php endif; ?> value="6">6</option>
              <option <?php if($voo['app_link_start3'] == 7 ): ?>selected=""<?php endif; ?> value="7">7</option>
              <option <?php if($voo['app_link_start3'] == 8 ): ?>selected=""<?php endif; ?> value="8">8</option>
              <option <?php if($voo['app_link_start3'] == 9 ): ?>selected=""<?php endif; ?> value="9">9</option>
              <option <?php if($voo['app_link_start3'] == 10 ): ?>selected=""<?php endif; ?> value="10">10</option>
              <option <?php if($voo['app_link_start3'] == 11 ): ?>selected=""<?php endif; ?> value="11">11</option>
              <option <?php if($voo['app_link_start3'] == 12 ): ?>selected=""<?php endif; ?> value="12">12</option>
              <option <?php if($voo['app_link_start3'] == 13 ): ?>selected=""<?php endif; ?> value="13">13</option>
              <option <?php if($voo['app_link_start3'] == 14 ): ?>selected=""<?php endif; ?> value="14">14</option>
              <option <?php if($voo['app_link_start3'] == 15 ): ?>selected=""<?php endif; ?> value="15">15</option>
              <option <?php if($voo['app_link_start3'] == 16 ): ?>selected=""<?php endif; ?> value="16">16</option>
              <option <?php if($voo['app_link_start3'] == 17 ): ?>selected=""<?php endif; ?> value="17">17</option>
              <option <?php if($voo['app_link_start3'] == 18 ): ?>selected=""<?php endif; ?> value="18">18</option>
              <option <?php if($voo['app_link_start3'] == 19 ): ?>selected=""<?php endif; ?> value="19">19</option>
              <option <?php if($voo['app_link_start3'] == 20 ): ?>selected=""<?php endif; ?> value="20">20</option>
              <option <?php if($voo['app_link_start3'] == 21 ): ?>selected=""<?php endif; ?> value="21">21</option>
              <option <?php if($voo['app_link_start3'] == 22 ): ?>selected=""<?php endif; ?> value="22">22</option>
              <option <?php if($voo['app_link_start3'] == 23 ): ?>selected=""<?php endif; ?> value="23">23</option>
              <option <?php if($voo['app_link_start3'] == 24 ): ?>selected=""<?php endif; ?> value="24">24</option>
            </select>
            到<select name="app_link_sed3">
              <option <?php if($voo['app_link_sed3'] == 1 ): ?>selected=""<?php endif; ?> value="1">1</option>
              <option <?php if($voo['app_link_sed3'] == 2 ): ?>selected=""<?php endif; ?> value="2">2</option>
              <option <?php if($voo['app_link_sed3'] == 3 ): ?>selected=""<?php endif; ?> value="3">3</option>
              <option <?php if($voo['app_link_sed3'] == 4 ): ?>selected=""<?php endif; ?> value="4">4</option>
              <option <?php if($voo['app_link_sed3'] == 5 ): ?>selected=""<?php endif; ?> value="5">5</option>
              <option <?php if($voo['app_link_sed3'] == 6 ): ?>selected=""<?php endif; ?> value="6">6</option>
              <option <?php if($voo['app_link_sed3'] == 7 ): ?>selected=""<?php endif; ?> value="7">7</option>
              <option <?php if($voo['app_link_sed3'] == 8 ): ?>selected=""<?php endif; ?> value="8">8</option>
              <option <?php if($voo['app_link_sed3'] == 9 ): ?>selected=""<?php endif; ?> value="9">9</option>
              <option <?php if($voo['app_link_sed3'] == 10 ): ?>selected=""<?php endif; ?> value="10">10</option>
              <option <?php if($voo['app_link_sed3'] == 11 ): ?>selected=""<?php endif; ?> value="11">11</option>
              <option <?php if($voo['app_link_sed3'] == 12 ): ?>selected=""<?php endif; ?> value="12">12</option>
              <option <?php if($voo['app_link_sed3'] == 13 ): ?>selected=""<?php endif; ?> value="13">13</option>
              <option <?php if($voo['app_link_sed3'] == 14 ): ?>selected=""<?php endif; ?> value="14">14</option>
              <option <?php if($voo['app_link_sed3'] == 15 ): ?>selected=""<?php endif; ?> value="15">15</option>
              <option <?php if($voo['app_link_sed3'] == 16 ): ?>selected=""<?php endif; ?> value="16">16</option>
              <option <?php if($voo['app_link_sed3'] == 17 ): ?>selected=""<?php endif; ?> value="17">17</option>
              <option <?php if($voo['app_link_sed3'] == 18 ): ?>selected=""<?php endif; ?> value="18">18</option>
              <option <?php if($voo['app_link_sed3'] == 19 ): ?>selected=""<?php endif; ?> value="19">19</option>
              <option <?php if($voo['app_link_sed3'] == 20 ): ?>selected=""<?php endif; ?> value="20">20</option>
              <option <?php if($voo['app_link_sed3'] == 21 ): ?>selected=""<?php endif; ?> value="21">21</option>
              <option <?php if($voo['app_link_sed3'] == 22 ): ?>selected=""<?php endif; ?> value="22">22</option>
              <option <?php if($voo['app_link_sed3'] == 23 ): ?>selected=""<?php endif; ?> value="23">23</option>
              <option <?php if($voo['app_link_sed3'] == 24 ): ?>selected=""<?php endif; ?> value="24">24</option>
            </select>
            <?php if($voo['app_link_qiyong3'] == 1 ): ?><a href="<?php echo U('Dataflow/edit_index',array('app_id'=>$app_id,'app_link_qiyong3'=>2));?>">停用</a><?php else: ?><a href="<?php echo U('Dataflow/edit_index',array('app_id'=>$app_id,'app_link_qiyong3'=>1));?>">启用 </a><?php endif; ?></div>
           </div>
           <div id="tianjia_3" <?php if($voo['app_link_alias4'] == '' ): ?>style="display:none;"<?php endif; ?>>
           			<div class="mc03">别名
                    <input type="text" name="app_link_alias4" id="app_link_alias4" value="<?php echo ($voo['app_link_alias4']); ?>"/>
                  </div>
                 <div class="mc04"><span>链接地址</span>
                   <input type="text" name="app_link_ad4" id="app_link_ad4" value="<?php echo ($voo['app_link_ad4']); ?>" size="80"/><br/>启用时间
                        <select name="app_link_start4">  
              <option <?php if($voo['app_link_start4'] == 1 ): ?>selected=""<?php endif; ?> value="1">1</option>
              <option <?php if($voo['app_link_start4'] == 2 ): ?>selected=""<?php endif; ?> value="2">2</option>
              <option <?php if($voo['app_link_start4'] == 3 ): ?>selected=""<?php endif; ?> value="3">3</option>
              <option <?php if($voo['app_link_start4'] == 4 ): ?>selected=""<?php endif; ?> value="4">4</option>
              <option <?php if($voo['app_link_start4'] == 5 ): ?>selected=""<?php endif; ?> value="5">5</option>
              <option <?php if($voo['app_link_start4'] == 6 ): ?>selected=""<?php endif; ?> value="6">6</option>
              <option <?php if($voo['app_link_start4'] == 7 ): ?>selected=""<?php endif; ?> value="7">7</option>
              <option <?php if($voo['app_link_start4'] == 8 ): ?>selected=""<?php endif; ?> value="8">8</option>
              <option <?php if($voo['app_link_start4'] == 9 ): ?>selected=""<?php endif; ?> value="9">9</option>
              <option <?php if($voo['app_link_start4'] == 10 ): ?>selected=""<?php endif; ?> value="10">10</option>
              <option <?php if($voo['app_link_start4'] == 11 ): ?>selected=""<?php endif; ?> value="11">11</option>
              <option <?php if($voo['app_link_start4'] == 12 ): ?>selected=""<?php endif; ?> value="12">12</option>
              <option <?php if($voo['app_link_start4'] == 13 ): ?>selected=""<?php endif; ?> value="13">13</option>
              <option <?php if($voo['app_link_start4'] == 14 ): ?>selected=""<?php endif; ?> value="14">14</option>
              <option <?php if($voo['app_link_start4'] == 15 ): ?>selected=""<?php endif; ?> value="15">15</option>
              <option <?php if($voo['app_link_start4'] == 16 ): ?>selected=""<?php endif; ?> value="16">16</option>
              <option <?php if($voo['app_link_start4'] == 17 ): ?>selected=""<?php endif; ?> value="17">17</option>
              <option <?php if($voo['app_link_start4'] == 18 ): ?>selected=""<?php endif; ?> value="18">18</option>
              <option <?php if($voo['app_link_start4'] == 19 ): ?>selected=""<?php endif; ?> value="19">19</option>
              <option <?php if($voo['app_link_start4'] == 20 ): ?>selected=""<?php endif; ?> value="20">20</option>
              <option <?php if($voo['app_link_start4'] == 21 ): ?>selected=""<?php endif; ?> value="21">21</option>
              <option <?php if($voo['app_link_start4'] == 22 ): ?>selected=""<?php endif; ?> value="22">22</option>
              <option <?php if($voo['app_link_start4'] == 23 ): ?>selected=""<?php endif; ?> value="23">23</option>
              <option <?php if($voo['app_link_start4'] == 24 ): ?>selected=""<?php endif; ?> value="24">24</option>
            </select>
            到<select name="app_link_sed4">
              <option <?php if($voo['app_link_sed4'] == 1 ): ?>selected=""<?php endif; ?> value="1">1</option>
              <option <?php if($voo['app_link_sed4'] == 2 ): ?>selected=""<?php endif; ?> value="2">2</option>
              <option <?php if($voo['app_link_sed4'] == 3 ): ?>selected=""<?php endif; ?> value="3">3</option>
              <option <?php if($voo['app_link_sed4'] == 4 ): ?>selected=""<?php endif; ?> value="4">4</option>
              <option <?php if($voo['app_link_sed4'] == 5 ): ?>selected=""<?php endif; ?> value="5">5</option>
              <option <?php if($voo['app_link_sed4'] == 6 ): ?>selected=""<?php endif; ?> value="6">6</option>
              <option <?php if($voo['app_link_sed4'] == 7 ): ?>selected=""<?php endif; ?> value="7">7</option>
              <option <?php if($voo['app_link_sed4'] == 8 ): ?>selected=""<?php endif; ?> value="8">8</option>
              <option <?php if($voo['app_link_sed4'] == 9 ): ?>selected=""<?php endif; ?> value="9">9</option>
              <option <?php if($voo['app_link_sed4'] == 10 ): ?>selected=""<?php endif; ?> value="10">10</option>
              <option <?php if($voo['app_link_sed4'] == 11 ): ?>selected=""<?php endif; ?> value="11">11</option>
              <option <?php if($voo['app_link_sed4'] == 12 ): ?>selected=""<?php endif; ?> value="12">12</option>
              <option <?php if($voo['app_link_sed4'] == 13 ): ?>selected=""<?php endif; ?> value="13">13</option>
              <option <?php if($voo['app_link_sed4'] == 14 ): ?>selected=""<?php endif; ?> value="14">14</option>
              <option <?php if($voo['app_link_sed4'] == 15 ): ?>selected=""<?php endif; ?> value="15">15</option>
              <option <?php if($voo['app_link_sed4'] == 16 ): ?>selected=""<?php endif; ?> value="16">16</option>
              <option <?php if($voo['app_link_sed4'] == 17 ): ?>selected=""<?php endif; ?> value="17">17</option>
              <option <?php if($voo['app_link_sed4'] == 18 ): ?>selected=""<?php endif; ?> value="18">18</option>
              <option <?php if($voo['app_link_sed4'] == 19 ): ?>selected=""<?php endif; ?> value="19">19</option>
              <option <?php if($voo['app_link_sed4'] == 20 ): ?>selected=""<?php endif; ?> value="20">20</option>
              <option <?php if($voo['app_link_sed4'] == 21 ): ?>selected=""<?php endif; ?> value="21">21</option>
              <option <?php if($voo['app_link_sed4'] == 22 ): ?>selected=""<?php endif; ?> value="22">22</option>
              <option <?php if($voo['app_link_sed4'] == 23 ): ?>selected=""<?php endif; ?> value="23">23</option>
              <option <?php if($voo['app_link_sed4'] == 24 ): ?>selected=""<?php endif; ?> value="24">24</option>
            </select>
           <?php if($voo['app_link_qiyong4'] == 1 ): ?><a href="<?php echo U('Dataflow/edit_index',array('app_id'=>$app_id,'app_link_qiyong4'=>2));?>">停用</a><?php else: ?><a href="<?php echo U('Dataflow/edit_index',array('app_id'=>$app_id,'app_link_qiyong4'=>1));?>">启用 </a><?php endif; ?></div>
           </div>
           <div id="tianjia_4" <?php if($voo['app_link_alias5'] == '' ): ?>style="display:none;"<?php endif; ?>>
           		<div class="mc03">别名
                    <input type="text" name="app_link_alias5" id="app_link_alias5" value="<?php echo ($voo['app_link_alias5']); ?>"/>
                  </div>
                 <div class="mc04"><span>链接地址</span>
                   <input type="text" name="app_link_ad5" id="app_link_ad5" value="<?php echo ($voo['app_link_ad5']); ?>" size="80"/><br/>启用时间
                        <select name="app_link_start5">
              <option <?php if($voo['app_link_start5'] == 1 ): ?>selected=""<?php endif; ?> value="1">1</option>
              <option <?php if($voo['app_link_start5'] == 2 ): ?>selected=""<?php endif; ?> value="2">2</option>
              <option <?php if($voo['app_link_start5'] == 3 ): ?>selected=""<?php endif; ?> value="3">3</option>
              <option <?php if($voo['app_link_start5'] == 4 ): ?>selected=""<?php endif; ?> value="4">4</option>
              <option <?php if($voo['app_link_start5'] == 5 ): ?>selected=""<?php endif; ?> value="5">5</option>
              <option <?php if($voo['app_link_start5'] == 6 ): ?>selected=""<?php endif; ?> value="6">6</option>
              <option <?php if($voo['app_link_start5'] == 7 ): ?>selected=""<?php endif; ?> value="7">7</option>
              <option <?php if($voo['app_link_start5'] == 8 ): ?>selected=""<?php endif; ?> value="8">8</option>
              <option <?php if($voo['app_link_start5'] == 9 ): ?>selected=""<?php endif; ?> value="9">9</option>
              <option <?php if($voo['app_link_start5'] == 10 ): ?>selected=""<?php endif; ?> value="10">10</option>
              <option <?php if($voo['app_link_start5'] == 11 ): ?>selected=""<?php endif; ?> value="11">11</option>
              <option <?php if($voo['app_link_start5'] == 12 ): ?>selected=""<?php endif; ?> value="12">12</option>
              <option <?php if($voo['app_link_start5'] == 13 ): ?>selected=""<?php endif; ?> value="13">13</option>
              <option <?php if($voo['app_link_start5'] == 14 ): ?>selected=""<?php endif; ?> value="14">14</option>
              <option <?php if($voo['app_link_start5'] == 15 ): ?>selected=""<?php endif; ?> value="15">15</option>
              <option <?php if($voo['app_link_start5'] == 16 ): ?>selected=""<?php endif; ?> value="16">16</option>
              <option <?php if($voo['app_link_start5'] == 17 ): ?>selected=""<?php endif; ?> value="17">17</option>
              <option <?php if($voo['app_link_start5'] == 18 ): ?>selected=""<?php endif; ?> value="18">18</option>
              <option <?php if($voo['app_link_start5'] == 19 ): ?>selected=""<?php endif; ?> value="19">19</option>
              <option <?php if($voo['app_link_start5'] == 20 ): ?>selected=""<?php endif; ?> value="20">20</option>
              <option <?php if($voo['app_link_start5'] == 21 ): ?>selected=""<?php endif; ?> value="21">21</option>
              <option <?php if($voo['app_link_start5'] == 22 ): ?>selected=""<?php endif; ?> value="22">22</option>
              <option <?php if($voo['app_link_start5'] == 23 ): ?>selected=""<?php endif; ?> value="23">23</option>
              <option <?php if($voo['app_link_start5'] == 24 ): ?>selected=""<?php endif; ?> value="24">24</option>
            </select>
            到<select name="app_link_sed5">
              <option <?php if($voo['app_link_sed5'] == 1 ): ?>selected=""<?php endif; ?> value="1">1</option>
              <option <?php if($voo['app_link_sed5'] == 2 ): ?>selected=""<?php endif; ?> value="2">2</option>
              <option <?php if($voo['app_link_sed5'] == 3 ): ?>selected=""<?php endif; ?> value="3">3</option>
              <option <?php if($voo['app_link_sed5'] == 4 ): ?>selected=""<?php endif; ?> value="4">4</option>
              <option <?php if($voo['app_link_sed5'] == 5 ): ?>selected=""<?php endif; ?> value="5">5</option>
              <option <?php if($voo['app_link_sed5'] == 6 ): ?>selected=""<?php endif; ?> value="6">6</option>
              <option <?php if($voo['app_link_sed5'] == 7 ): ?>selected=""<?php endif; ?> value="7">7</option>
              <option <?php if($voo['app_link_sed5'] == 8 ): ?>selected=""<?php endif; ?> value="8">8</option>
              <option <?php if($voo['app_link_sed5'] == 9 ): ?>selected=""<?php endif; ?> value="9">9</option>
              <option <?php if($voo['app_link_sed5'] == 10 ): ?>selected=""<?php endif; ?> value="10">10</option>
              <option <?php if($voo['app_link_sed5'] == 11 ): ?>selected=""<?php endif; ?> value="11">11</option>
              <option <?php if($voo['app_link_sed5'] == 12 ): ?>selected=""<?php endif; ?> value="12">12</option>
              <option <?php if($voo['app_link_sed5'] == 13 ): ?>selected=""<?php endif; ?> value="13">13</option>
              <option <?php if($voo['app_link_sed5'] == 14 ): ?>selected=""<?php endif; ?> value="14">14</option>
              <option <?php if($voo['app_link_sed5'] == 15 ): ?>selected=""<?php endif; ?> value="15">15</option>
              <option <?php if($voo['app_link_sed5'] == 16 ): ?>selected=""<?php endif; ?> value="16">16</option>
              <option <?php if($voo['app_link_sed5'] == 17 ): ?>selected=""<?php endif; ?> value="17">17</option>
              <option <?php if($voo['app_link_sed5'] == 18 ): ?>selected=""<?php endif; ?> value="18">18</option>
              <option <?php if($voo['app_link_sed5'] == 19 ): ?>selected=""<?php endif; ?> value="19">19</option>
              <option <?php if($voo['app_link_sed5'] == 20 ): ?>selected=""<?php endif; ?> value="20">20</option>
              <option <?php if($voo['app_link_sed5'] == 21 ): ?>selected=""<?php endif; ?> value="21">21</option>
              <option <?php if($voo['app_link_sed5'] == 22 ): ?>selected=""<?php endif; ?> value="22">22</option>
              <option <?php if($voo['app_link_sed5'] == 23 ): ?>selected=""<?php endif; ?> value="23">23</option>
              <option <?php if($voo['app_link_sed5'] == 24 ): ?>selected=""<?php endif; ?> value="24">24</option>
            </select>
            <?php if($voo['app_link_qiyong5'] == 1 ): ?><a href="<?php echo U('Dataflow/edit_index',array('app_id'=>$app_id,'app_link_qiyong5'=>2));?>">停用</a><?php else: ?><a href="<?php echo U('Dataflow/edit_index',array('app_id'=>$app_id,'app_link_qiyong5'=>1));?>">启用 </a><?php endif; ?></div>
           </div>
           <div id="tianjia_5" style="display:none;">
           </div>
           		<input type="hidden" name="app_link_id" value="<?php echo ($voo['app_link_id']); ?>"/><?php endforeach; endif; else: echo "" ;endif; ?>
 				<input type="hidden" name="app_id" value="<?php echo ($vo['id']); ?>"/><?php endforeach; endif; ?>

            
           
            <div style="padding-left:15px; padding-top:10px;"><img src="../Public/images/ok2.jpg" width="60" height="23" id="tianjia_ck"/>  <img src="../Public/images/ok1.jpg" width="60" height="23" style="display:none;" id="quxiao"/></div>
            <div class="ok">
            	<img src="../Public/images/ok.jpg" width="60" height="23" id="tijiao_yanzheng"/>
            	<!--<input type="image" src="../Public/images/ok.jpg" width="60" height="23" id="tijiao_yanzheng"/>-->
            	
            </div> </form>
            </td>
        </tr>
      </table></td>
  </tr>
</table>
</body>
</html>